package com.lottery.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.lottery.common.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
* <p>
    * 会员信息表
    * </p>
*
* @author jobob
* @since 2019-09-23
*/
    @Data
    @Accessors(chain = true)
    @TableName("tb_member_info_sub")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModel(value="TbMemberInfoSub对象", description="会员信息副表")
    public class MemberInfoSub  {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long memberId;


    @TableField(exist=false)
    @ApiModelProperty(value = "昵称")
    private Integer nickName;
    @TableField(exist=false)
    @ApiModelProperty(value = "头像")
    private String avatar;
    @TableField(exist=false)
    @ApiModelProperty(value = "粉丝数")
    private Integer fansNum;
    @TableField(exist=false)
    @ApiModelProperty(value = "简介")
    private String intro;

    @TableField(exist=false)
    @ApiModelProperty(value = "是否关注 0关注 1自己 2已关注 3互相关注")
    private Integer isAttention;

    @ApiModelProperty(value = "胜率")
    private Long winRate;

    @ApiModelProperty(value = "盈利率")
    private Long earningsRate;

    @ApiModelProperty(value = "红连")
    private Integer redEven;
}
